<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>ERROR</title>
    <link rel="stylesheet" href="/Public/css/bootstrap.min.css">
    <link rel="stylesheet" href="/Public/css/wikiIndex.css">
    <style>
        body{
            background-color: white;
        }
    </style>
    <script>
        (function(){
            var time = 5;
            var url = "${content}";
            var timer = window.setInterval(function(){
                if(time <= 0 ){
                    clearInterval(timer);
                    window.location.href = url;
                }
                time--;
                document.getElementById("lasttime").innerHTML = time.toString();
            } ,1000);
        })();
    </script>
</head>
<body>
    <div class="errorPage">
        <h1><s:property value="jsonResult"/></h1>
        <img src="http://honoka.qiniudn.com/20150524041445138/errorniang.jpg" width="313px" height="442px">
        <p>对不起，发生了错误，<span id="lasttime">5</span>秒后将为您跳转到：<a href="${content}">${content}</a> </p>
    </div>
</body>
</html>
